<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ include file="/WEB-INF/util_file/common.jspf"%>
<style>
#admin_product {
	font: 12px/1.2 "돋움", dotum, bold;
}

th {
	background-color: #f1f1f1
}
</style>

<script type="text/javascript" src="/jeons/js/jquery.ui.datepicker.js"></script>
<script type="text/javascript" src="/jeons/js/jquery.ui.datepicker-ko.js"></script>
<script src="/jeons/js/jquery.MultiFile.js" type="text/javascript"></script>
<script type="text/javascript">
	$(document).ready( function(){
		 $("#rgdate").datepicker({
			  changeMonth:true,
			  changeYear:true 
		 });
		 
			if ($("#prono").val() != 0 || $("#prono").val() != null) {
				$("#uplod").hide();
			}
	});
</script>
<div id="admin_product">
	<div id="product_title">
		<img src="/jeons/images/titledot.gif" />제품 등록
	</div>
	<br>
	<form:form commandName="graphic" method="post" id="graphic"
		enctype="multipart/form-data">
		<form:hidden path="prono"/>
		<table border="0" width="650px" height="50">
			<tr>
				<td colspan="4" bgcolor="#000000" height="1"></td>
			</tr>
			<tr>
				<th height="24" align="center">옵션명</th>
				<td><b><form:input path="type" value="graphic"
							readonly="true" /></b></td>
				<th align="center">상품명</th>
				<td><form:input path="product" /></td>
			</tr>
			<tr>
				<td colspan="4" bgcolor="#000000" height="1"></td>
			</tr>
			<tr>
				<th height="24" align="center">갯수</th>
				<td><form:input path="p_number" /></td>
				<th align="center">가격</th>
				<td><form:input path="price" /></td>
			</tr>
			<tr>
				<td colspan="4" bgcolor="#000000" height="1"></td>
			</tr>
			<tr>
				<th height="24" align="center">제품 제조회사</th>
				<td><form:input path="manufacturer" /></td>
				<th align="center">제품등록일</th>
				<td><form:input path="rgdate" /></td>
			</tr>
			<tr>
				<td colspan="4" bgcolor="#000000" height="1"></td>
			</tr>
		</table>
		<br>
		<div id="product_title">
			<img src="/jeons/images/titledot.gif" />제품 옵션
		</div>
		<br>
		<table border="0" width="650px" height="50">
			<tr>
				<td colspan="4" bgcolor="#000000" height="1"></td>
			</tr>
			<tr>
				<th height="24" align="center">모델별</th>
				<td><b><form:input path="model" /></b></td>
				<th align="center">연결방식</th>
				<td><form:input path="chain" /></td>
			</tr>
			<tr>
				<td colspan="4" bgcolor="#000000" height="1"></td>
			</tr>
			<tr>
				<th height="24" align="center">메모리용량</th>
				<td><form:input path="capacity" /></td>
				<th align="center">메모리종류</th>
				<td><form:input path="memorysort" /></td>
			</tr>
			<tr>
				<td colspan="4" bgcolor="#000000" height="1"></td>
			</tr>
			<tr>
				<th height="24" align="center">메모리버스</th>
				<td><form:input path="momorybus" /></td>
				<th height="24" align="center">카드형태</th>
				<td><form:input path="kardsory" /></td>

			</tr>
			<tr>
				<th height="24" align="center">출력단자</th>
				<td><form:input path="output" /></td>
				<th height="24" align="center">쿨러형태</th>
				<td><form:input path="cooler" /></td>

			</tr>
			<tr>
				<th height="24" align="center">부가기능</th>
				<td><form:input path="addition" /></td>
				<th height="24" align="center">부조전원</th>
				<td><form:input path="steppower" /></td>

			</tr>
			<tr>
				<td colspan="4" bgcolor="#000000" height="1"></td>
			</tr>
			<tr>
				<th height="24" align="center">게임쿠폰</th>
				<td><form:input path="gamecoupon" /></td>
				<th height="24" align="center">vga장착범위</th>
				<td><form:input path="vgascope" /></td>

			</tr>
			<tr>
				<td colspan="4" bgcolor="#000000" height="1"></td>
			</tr>
			<tr>
				<th height="24" align="center">VGA길이</th>
				<td colspan="3"><form:input path="vgalength" /></td>
			</tr>
			<tr>
				<td colspan="4" bgcolor="#000000" height="1"></td>
			</tr>
		</table>
		<br>
		<div id = uplod>
		<div id="product_title">
			<img src="/jeons/images/titledot.gif" />이미지 업로드
		</div>
		<br>
		<table border="0" width="650px" height="50">
			<tr>
				<td colspan="2" bgcolor="#000000" height="1"></td>
			</tr>
			<tr>
				<th height="24" align="center">작은 이미지</th>
				<td><input type="file" class="multi" name="listimg"
					maxlength="1" />한개의 이미지만 업로드 가능합니다.</td>
			</tr>
			<tr>
				<th align="center">상세 이미지</th>
				<td><input type="file" class="multi" name="dteilimg"
					maxlength="1" />한개의 이미지만 업로드 가능합니다.</td>
			</tr>
			<tr>
				<td colspan="4" bgcolor="#000000" height="1"></td>
			</tr>
		</table>
		</div>
		<br>
		<input type="submit" value="확인" />
	</form:form>
</div>